//登录接口类型
export interface loginForm {
  username: string;
  password: string;
}
interface dataType {
  access_token: string;
  token_type: string;
  refresh_token: string;
  expires_in: number;
  scope: string;
  jti: string;
}
export interface loginResponseData {
  code: number;
  message: string;
  data: dataType | null;
}
//用户信息接口类型
interface user {
  email: string;
  imageUrl: string;
  mobile: string;
  nickName: string;
  uid: string;
  username: string;
}
export interface userResponseData {
  code: number;
  data?: user;
  message?: string;
}
